package com.mindskip.xzs.service;

import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.dto.admin.exampaperanswer.ExamPaperAnswerPageDTO;
import com.mindskip.xzs.domain.dto.student.exampaper.ExamPaperAnswerDTO;
import com.mindskip.xzs.domain.dto.student.exampaper.ExamPaperAnswerPageStudentDTO;
import com.mindskip.xzs.domain.vo.student.exampaper.ExamPaperAnswerPageStudentVO;
import com.mindskip.xzs.domain.vo.student.exampaper.ExamPaperReadVO;
import com.mindskip.xzs.domain.dto.student.exampaper.ExamPaperSubmitDTO;
import com.mindskip.xzs.domain.entity.ExamPaperAnswer;
import com.mindskip.xzs.domain.entity.User;
import com.mindskip.xzs.domain.vo.admin.exampaperanswer.ExamPaperAnswerPageVO;


public interface ExamPaperAnswerService extends BaseService<ExamPaperAnswer> {

    Integer selectAllCount();

    PageInfo<ExamPaperAnswerPageVO> getExamPaperAnswerByPage(ExamPaperAnswerPageDTO examPaperAnswerPageDTO);

    String answerSubmit(ExamPaperSubmitDTO examPaperSubmitDTO, User user);

    ExamPaperReadVO read(Integer id);

    String edit(ExamPaperAnswerDTO examPaperAnswerDTO, User user);

    String judge(ExamPaperAnswerDTO examPaperAnswerDTO);

    PageInfo<ExamPaperAnswerPageStudentVO> page(ExamPaperAnswerPageStudentDTO examPaperPageDTO, User user);
}
